package com.itheima.dao;
import com.github.pagehelper.Page;
import com.itheima.pojo.CampaignSetting;
import com.itheima.pojo.FoodSetting;


/**
 * @author ZhaoShengChao
 * @create 2021/8/7 21:54
 */
public interface CampaignSettingDao {
    /**
     * 文件上传
     * @param CampaignSetting
     */
    void add(CampaignSetting CampaignSetting);

    /**
     * 条件查找
     * @param queryString
     * @return
     */
    Page<CampaignSetting> findByCondition(String queryString);
    /**
     * 根据id删除数据
     * @param id
     */
    void deleteById(Integer id);

    /**
     * 编辑数据
     * @param campaignSetting
     */
    void edit(CampaignSetting campaignSetting);
}
